package app.auto.designer.intfs.intf;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import app.auto.designer.R;


public class DelActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.auto_del);
        findViewById(R.id.del).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                setResult(0, new Intent().putExtra("del", "true"));
                finish();
            }
        });

        findViewById(R.id.bg).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
    }
}
